import  requests
class IhrmLoginApi():
    @classmethod
    def login(cls, json_data):
        resp = requests.post(url="http://ihrm-java.itheima.net/api/sys/login",
                             json=json_data)
        headers = {
            "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) "
                          "Chrome/105.0.0.0 Safari/537.36 Edg/105.0.1343.53"}

        return resp